<!DOCTYPE html>
<html>
<head>
	<title>导航条使用</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
</head>
<body>
	<!-- class="navbar-fixed-bottom"固定在底部
		 navbar-fixed-top：固定在顶部
		 navbar-default:灰色
		 navbar-inverse：黑色
	 -->
	<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
		<div class="container-fluid">
			<div class="navbar-header">
				<a href="#" class="navbar-brand">极客</a>
			</div>
			<div class="collapse navbar-collapse">
				<ul class="nav navbar-nav mytab">
					<li class="active"><a href="#">LInk</a></li>
					<li><a href="#">LInk</a></li>	
					<li><a href="#">LInk</a></li>
				</ul>
				
				<form class="navbar-form navbar-left" role="search">
					<div class="form-group">
						<input type="text" class="form-control" placeholder="搜索" name="">
					</div>
					<button type="submit" class="btn btn-default">搜索</button>
				</form>

				<ul class="nav navbar-nav navbar-right">
					<li><a href="#">LInk</a></li>
					<li class="dropdown">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown">点我<span class="caret"></span></a>
						<ul class="dropdown-menu" role="menu">
							<li><a href="#">Hello1</a></li>
							<li><a href="#">Hello2</a></li>
							<li><a href="#">Hello3</a></li>
							<li><a href="#">Hello4</a></li>
						</ul>
					</li>
				</ul>
			</div>
		</div>
	</nav>

	hello
	<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
	hello

<!-- 路径导航，可能在文档方面见得比较多 -->
	<nav class="navbar navbar-default navbar-fixed-bottom" role="navigation">
		<ol class="breadcrumb">
			<li><a href="#">Home</a></li>
			<li><a href="#">Library</a></li>
			<li><a href="#">Data</a></li>
		</ol>
	</nav>

<script type="text/javascript" src="js/jquery-3.0.0.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript">
	$('ul li').click(function(e){
		e.preventDefault();
		// 阻止默认行为
		$(this).tab("show");
	})
</script>
</body>
</html>